package com.ruoyi.project.gxgw_modules.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品表 cxj_goods
 * 
 * @author ruoyi
 * @date 2019-01-20
 */
public class Goods extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 序号 */
	@Excel(name = "序号")
	private Integer goodsId;
	/** 商品条码 */
	@Excel(name = "条码")
	private String goodsBar;
	/** 商品名称 */
	@Excel(name = "商品名称")
	private String goodsName;
	/** 规格 */
	@Excel(name = "规格")
	private String goodsSpec;
	/** 所属分类 */
	@Excel(name = "所属分类")
	private Integer gtypeId;
	/** 供应商名称 */
	@Excel(name = "供应商名称")
	private String supplier;
	/** 进货价格 */
	@Excel(name = "进货价格")
	private Float bprice;
	/** 销售价格 */
	@Excel(name = "销售价格")
	private Float sprice;
	/** 会员价 */
	@Excel(name = "会员价")
	private Float uprice;
	/** 库存数量 */
	@Excel(name = "库存数量")
	private Integer goodsNum;
	/**  */
	
	private String delFlag;
	
	private String goodsKey;
	
	@Excel(name = "商品名")
	private String gtypeName;

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsBar(String goodsBar) {
		this.goodsBar = goodsBar;
	}

	public String getGoodsBar() {
		return goodsBar;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsSpec(String goodsSpec) {
		this.goodsSpec = goodsSpec;
	}

	public String getGoodsSpec() {
		return goodsSpec;
	}

	public void setGtypeId(Integer gtypeId) {
		this.gtypeId = gtypeId;
	}

	public Integer getGtypeId() {
		return gtypeId;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setBprice(Float bprice) {
		this.bprice = bprice;
	}

	public Float getBprice() {
		return bprice;
	}

	public void setSprice(Float sprice) {
		this.sprice = sprice;
	}

	public Float getSprice() {
		return sprice;
	}

	public void setUprice(Float uprice) {
		this.uprice = uprice;
	}

	public Float getUprice() {
		return uprice;
	}

	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	public Integer getGoodsNum() {
		return goodsNum;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("goodsId", getGoodsId())
				.append("goodsBar", getGoodsBar()).append("goodsName", getGoodsName())
				.append("goodsSpec", getGoodsSpec()).append("gtypeId", getGtypeId()).append("supplier", getSupplier())
				.append("bprice", getBprice()).append("sprice", getSprice()).append("uprice", getUprice())
				.append("goodsNum", getGoodsNum()).append("delFlag", getDelFlag()).toString();
	}

	
	public String getGoodsKey() {
		return goodsKey;
	}

	public void setGoodsKey(String goodsKey) {
		this.goodsKey = goodsKey;
	}

	public String getGtypeName() {
		return gtypeName;
	}

	public void setGtypeName(String gtypeName) {
		this.gtypeName = gtypeName;
	}
}
